set(target lzm_apps)

# lib                
add_library(${target} STATIC)
target_link_libraries(${target} PUBLIC ${LZM_ALL_LIBS})

# port
target_include_directories(${target} PUBLIC include)
target_include_directories(${target} PRIVATE tcpc lzmperf)

set(port_src
        apps_init.c

        tcpc/tcpc.c

        lzmperf/lzmperf.c
)

target_sources(${target} PRIVATE
        ${port_src}
)